using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;
using Volo.Abp.Domain.Entities.Auditing;
namespace Nb.FactoryAssistant.DAL.Abstracts.Entities
{
    /// <summary>
    /// 实体类：仓库类别
    /// </summary>
    [SugarTable("Wms_Warehouse_Type")]
    public class WmsWarehouseType : FullAuditedEntity<Guid>, IMultiTenant
    {
        public WmsWarehouseType()
        {

        }
        public WmsWarehouseType(string code, string name, string description)
        {
            Code = code;
            Name = name;
            Description = description;
        }

        ///<summary>
        ///<para>编码</para>
        ///</summary>
        [SugarColumn(ColumnName = "Code", IsNullable = false, Length = 64, ColumnDescription = "编码")]
        public virtual string Code { get; set; }

        ///<summary>
        ///<para>描述</para>
        ///</summary>
        [SugarColumn(ColumnName = "Description", IsNullable = false, Length = 256, ColumnDescription = "描述")]
        public virtual string Description { get; set; }

        ///<summary>
        ///<para>名称</para>
        ///</summary>
        [SugarColumn(ColumnName = "Name", IsNullable = false, Length = 32, ColumnDescription = "名称")]
        public virtual string Name { get; set; }

        ///<summary>
        ///<para>租户id</para>
        ///</summary>
        [SugarColumn(ColumnName = "TenantId", IsNullable = true, Length = 36)]
        public virtual Guid? TenantId { get; set; }

    }
}
